-
-
Notifications
You must be signed in to change notification settings - Fork 884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve feedback for oauth errors. #888
Improve feedback for oauth errors. #888
Conversation
@aklajnert if you could merge the latest master and run |
@adehad Based on my experience many contributors will not bother to fix their older PRs. You can decide to manually implement the same fix yourself if you find it useful and close original PR. Keep in mind to add me as reviewer once it reports green. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix CI reported issues
Something is clearly not correct with this change as I see a huge number of reformatted files. It was not correctly rebased from master? |
1021e38
to
aafd005
Compare
Yeah, sorry - I did struggle with the rebase, and after I did that I had to leave. I've fixed it now. |
This is a minor improvement with the feedback during the OAuth dance errors.
I got bitten by it twice, a few months apart and spent some time debugging what's going on. In my case, I got just the
KeyError
exception that theoauth_token
key does not exist. In my case, the response dict content was as below:This PR should cause the OAuth dance to return a bit more meaningful error messages during that stage.